<?php

require_once "ComponentBase.php";

/**
 * Description of BuquesComponent
 *
 * @author JeyDotC
 */
class BuquesComponent extends ComponentBase {

    function getAll() {
        return $this->Buques->GetAll();
    }

    function listar($skip, $range) {
        return $this->Buques->Listar($skip, $range);
    }

    function getById($id) {
        return $this->Buques->GetById($id);
    }

    function create(Buques $buques) {
        return $this->Buques->Create($buques);
    }

    function update(Buques $buques) {
        return $this->Buques->Update($buques);
    }

    function remove($id) {
        return $this->Buques->remove($id);
    }

    public function getEliminados() {
        return $this->Buques->GetEliminados();
    }

    public function restaurar($id) {
        return $this->Buques->Restaurar($id);
    }

}

?>
